For which Test Doubles can a Mockito Mock perform the same behaviors?
Mock
Dummy
Stub
Spy
What's a reason you might use a Mockito Spy?
You need to verify that a certain method is called on a dependency.
You have to change the behavior of one of the methods on a dependency.
You need to verify that a certain method is called on the tested class.
You have to change the behavior of one of the methods on the tested class.
Next Concept